package club.ruanx.movie.param;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @author 阮胜
 * @date 2018/10/24 21:08
 */
@Data
public class PersonParam {

    private String id;

    @NotEmpty
    private String name;

    @NotEmpty
    private String gender;

    private String constellation;

    private Date birthday;

    /**
     * 职业 0=普通,1=演员,2=导演 同时拥有多个职位用逗号隔开
     */
    private Integer[] professions;

    private String otherName;

    private String birthPlace;

    private String introduction;

    private String image;

}
